import React, { Component } from 'react'
import render from 'react-dom'
import { connect } from 'react-redux'

class ArtdtKind extends Component {
	render() {
		let data = this.props.data;

		return (
			<div className="artdt-kind-wrap">
			   <a href={Api.host + '/m/kindsum/' + data.kind_id} className="clearfix artdt-kind-link">
				   <img  className="artdt-kind-thumb" src={data.thumb} />
				   <div className="artdt-kind-content">
					   <div className="artdt-kind-title">{data.full_name}</div>
					   <div className="artdt-kind-money">{data.call_price}</div>
				   </div>
				   <div className="detial-btn">車款綜述</div>
			   </a>
		   </div>
		);
	}
}

export default connect()(ArtdtKind)